/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.mes.dao;

import java.util.Collection;
import java.util.List;

import com.xy.biz.mes.domain.query.ManufactureResultQuery;
import com.xy.biz.mes.domain.po.ManufactureResultPO;

/**
 *
 *
 * @author zgy
 * @date 2022-2-11
 */
public interface ManufactureResultDao {

	/**
	 * 保存
	 *
	 * @param manufactureResultPO
	 */
	int saveManufactureResult(ManufactureResultPO manufactureResultPO);

	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	int saveAllManufactureResult(Collection<ManufactureResultPO> collection);

	/**
	 * 更新
	 *
	 * @param manufactureResultPO
	 */
	int updateManufactureResult(ManufactureResultPO manufactureResultPO);

	/**
	 * 删除
	 *
	 * @param manufactureResultId
	 */
	int deleteManufactureResult(java.lang.Long manufactureResultId);

	/**
	 * 查找一个
	 *
	 * @param manufactureResultId
	 * @return
	 */
	ManufactureResultPO getManufactureResult(java.lang.Long manufactureResultId);

	/**
	 * 查找多条
	 *
	 * @param collection
	 * @return
	 */
	List<ManufactureResultPO> listManufactureResultById(Collection<java.lang.Long> collection);

	/**
	 * 条件查找多条
	 *
	 * @param query 查找条件
	 * @return
	 */
	List<ManufactureResultPO> listManufactureResult(ManufactureResultQuery query);

	/**
	 * 条件统计个数
	 *
	 * @param query 查找条件
	 * @return
	 */
	int countManufactureResult(ManufactureResultQuery query);

}
